From f054c317ee22d9c883570a8aaeae0b8d5643bd80 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 19 Jun 2020 14:15:55 -0400 Subject: [PATCH] expander: Remove a pointless return GtkDropControllerMotion::enter does not expect a boolean return value, so don't provide one. --- gtk/gtkexpander.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index 396c769989..0ceff8679b 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -231,7 +231,7 @@ expand_timeout (gpointer data) return FALSE; } -static gboolean +static void gtk_expander_drag_enter (GtkDropControllerMotion *motion, double x, double y, @@ -242,8 +242,6 @@ gtk_expander_drag_enter (GtkDropControllerMotion *motion, expander->expand_timer = g_timeout_add (TIMEOUT_EXPAND, (GSourceFunc) expand_timeout, expander); g_source_set_name_by_id (expander->expand_timer, "[gtk] expand_timeout"); } - - return TRUE; } static void -- 2.30.2